package org.vehicle.dao;

import java.util.List;
import java.util.Map;

import org.vehicle.dao.base.BaseDaoMapper;
import org.vehicle.entity.DriverInfo;

public interface DriverInfoMapper extends BaseDaoMapper<DriverInfo, Long>{
	/**
	 * 通过身份证号查询司机信息
	 * @param certificatecode
	 * @return
	 */
    public DriverInfo findDriverInfoByCertificateCode(String certificatecode);
    /**
     * 通过身份证号验证司机是否存在
     * @param paramMap
     * @return
     */
	public int testDriverInfoByCertificateCode(Map<String, Object> paramMap);
	/**
	 * 分页查询司机列表
	 * @param paramMap
	 * @return
	 */
	public List<DriverInfo> getDriverInfoList(Map<String, Object> paramMap);
	/**
	 * 分页查询司机数量
	 * @param paramMap
	 * @return
	 */
	public Integer getDriverInfoCount(Map<String, Object> paramMap);
}